// 导入
import request from '@/utils/request'


// 分页查询
export const getPage = (params) => {
  return request({
    url: '/enrool/page',
    method: 'GET',
    params
  })
}

// 新增
export const add = (data) => {
  return request({
    url: '/enrool/save',
    method: 'POST',
    data
  })
}

// 修改
export const update = (data) => {
  return request({
    url: '/enrool/update',
    method: 'POST',
    data
  })
}
// 修改
export const del = (data) => {
  return request({
    url: '/enrool/delete',
    method: 'POST',
    data
  })
}
